package cn.kgc.consumer_user.service;

import cn.kgc.provider_ticket.service.TicketService;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @org.apache.dubbo.config.annotation.Reference
    TicketService ticketService;

    public String hello(){
        String ticket = ticketService.getTicket();
        System.out.println(ticket);
        return ticket;
    }
}
